package com.Ritany3.subject.application.convert;

/**
 * 标签DTO转化
 */

import com.Ritany3.subject.application.dto.SubjectCategoryDTO;
import com.Ritany3.subject.application.dto.SubjectLabelDTO;
import com.Ritany3.subject.domain.entity.SubjectCategoryBO;
import com.Ritany3.subject.domain.entity.SubjectLabelBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectLabelDTOConverter {
    SubjectLabelDTOConverter INSTANCE = Mappers.getMapper(SubjectLabelDTOConverter.class);

    SubjectLabelBO converDtoToLabelBO(SubjectLabelDTO subjectLabelDTO);
   List<SubjectLabelDTO> converBOToLabelDTOList(List<SubjectLabelBO> boList);
}
